package com.travelparadise.dao;

import java.util.Collection;
import java.util.Date;

import org.springframework.transaction.annotation.Transactional;
import com.travelparadise.domain.Vol;

public interface VolDao {
	
	
	public Vol getById(int id);
	
	public Collection<Vol> searchByNameVilleDepart(String nomVilleDepart);
	
	public Collection<Vol> searchByNameVilleArrivee(String nomVilleArrivee);
	
	public Collection<Vol> searchByNameDateDepart(String nomVilleDepart);
	
	public Collection<Vol> searchByNameDateArrivee(String nomVilleArrivee);
	
	public Collection<Vol> searchByNameVilleDepartAndVilleArriveeAndDateDepart(String nomVilleDepart, String nomVilleArrivee, Date dateDepart);
}
